home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 September / CHIP 1996 szeptember (CD07).zip / CHIP_CD07.ISO / povray30 / povmsdos.exe / POVMSDOS.ZIP / INCLUDE / ATMOS.INC < prev    next >
Text File  |  1996-02-11  |  2KB  |  64 lines

  1. #ifdef(Atmos_Inc_Temp)
  2. // do nothing
  3. #else
  4. #declare Atmos_Inc_Temp = version
  5. #version 3.0
  6.  
  7. #ifdef(View_POV_Include_Stack)
  8. #   debug "including atmos.inc\n"
  9. #end
  10.  
  11. #declare Atmosphere1 = atmosphere {
  12.   type 1
  13.   samples 20        // Number of samples in first distance interval
  14.   distance 20       // Atmosphere density, similar to fog
  15.   scattering 0.3    // Reflectivity of atmosphere, determines brightness
  16.   aa_level 8        // Level of binary subdivision in case of aa
  17.   aa_threshold 0.1  // Threshold for aa to push in
  18.   jitter 0.2        // Amount of sample jittering
  19. }
  20.  
  21. //
  22. // Atmosphere with Mie cattering, hazy atmosphere (dependent of incident light). 
  23. //
  24.  
  25. #declare Atmosphere2 = atmosphere {
  26.   type 2
  27.   samples 20        // Number of samples in first distance interval
  28.   distance 20       // Atmosphere density, similar to fog
  29.   scattering 1.2    // Reflectivity of atmosphere, determines brightness
  30.   aa_level 8        // Level of binary subdivision in case of aa
  31.   aa_threshold 0.1  // Threshold for aa to push in
  32.   jitter 0.2        // Amount of sample jittering
  33. }
  34.  
  35. //
  36. // Atmosphere with Mie scattering, murky atmosphere (dependent of incident light). 
  37. //
  38.  
  39. #declare Atmosphere3 = atmosphere {
  40.   type 3
  41.   samples 20        // Number of samples in first distance interval
  42.   distance 20       // Atmosphere density, similar to fog
  43.   scattering 1.5    // Reflectivity of atmosphere, determines brightness
  44.   aa_level 8        // Level of binary subdivision in case of aa
  45.   aa_threshold 0.1  // Threshold for aa to push in
  46.   jitter 0.2        // Amount of sample jittering
  47. }
  48.  
  49. //
  50. // Atmosphere with Rayleigh scattering (dependent of incident light). 
  51. //
  52.  
  53. #declare Atmosphere4 = atmosphere {
  54.   type 4
  55.   samples 20        // Number of samples in first distance interval
  56.   distance 20       // Atmosphere density, similar to fog
  57.   scattering 0.6    // Reflectivity of atmosphere, determines brightness
  58.   aa_level 8        // Level of binary subdivision in case of aa
  59.   aa_threshold 0.1  // Threshold for aa to push in
  60.   jitter 0.2        // Amount of sample jittering
  61. }
  62. #version Atmos_Inc_Temp
  63. #end
  64.